#include "stdafx.h"
#include "TestPipe.h"
#include "Pipe.h"

using namespace PDMS::PDMSFrame;
using namespace PDMS::PDMSDomain;


CPPUNIT_TEST_SUITE_REGISTRATION( TestPipe );


TestPipe::TestPipe()
{
}


TestPipe::~TestPipe()
{
}

void TestPipe::TestPipeReg()
{
	Tree* pTree = PDMSClassRegister::Instance()->CreateObject( _T("Pipe") );
	CPPUNIT_ASSERT( pTree != NULL );
	CPPUNIT_ASSERT( pTree->IsKindOf( UE_RUNTIME_CLASS( Pipe ) ) );	
}